﻿using BaseProject.Application.Interfaces;
using BaseProject.Domain.Configs;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;

namespace BaseProject.Web.Controllers
{
    [Authorize]
    public class HomeController : BaseController
    {
        private readonly IUserService _userService;
        private readonly ILogger<HomeController> _logger;
        private readonly AppSettingConfig _appSettings;

        public HomeController(IUserService userService, ILogger<HomeController> logger, IOptions<AppSettingConfig> settings)
        {
            this._userService = userService;
            this._logger = logger;
            this._appSettings = settings.Value;
        }

        public IActionResult Index()
        {
            return View();
        }
    }
}